<template>
  <div class="comment">
    <div class="comment-left">
      <div class="comment-left-icon iconfont icon-bianji1"></div>
      <div class="comment-left-name">写恢复，交流想法</div>
    </div>
    <div class="comment-right">
      <div class="comment-praise">
        <div class="iconfont icon-lunkuodasan-" :style="{ color: true ? '#e5005a' : '' }"></div>
        <div>3</div>
      </div>
      <div class="comment-share iconfont icon-fenxiang2"></div>
    </div>
  </div>
</template>


<style lang="less" scoped>
.comment {
  width: 100%;
  height: 50px;
  padding: 5px 15px;
  box-sizing: border-box;
  background: #fff;
  position: fixed;
  left: 0px;
  bottom: 0px;
  border-top: 0.5px solid #ddd;
  display: flex;
  .comment-left {
    width: 260px;
    height: 40px;
    line-height: 40px;
    background: #eaeaea;
    border-radius: 20px;
    padding: 0px 15px;
    display: flex;
    color: #999;
    .comment-left-icon {
      width: 20px;
      height: 100%;
      font-size: 18px;
      text-align: center;
      line-height: 38px;
    }
    .comment-left-name {
      width: 210px;
      padding-left: 6px;
    }
  }
  .comment-right {
    width: 85px;
    height: 100%;
    padding-left: 10px;
    display: flex;
    .comment-praise {
      width: 40px;
      height: 100%;
      line-height: 40px;
      display: flex;
      justify-content: center;
      div:nth-child(1) {
        font-size: 18px;
        line-height: 38px;
      }
      div:nth-child(2) {
        font-size: 16px;
      }
    }
    .comment-share {
      width: 35px;
      height: 40px;
      line-height: 38px;
      font-size: 16px;
      text-align: center;
    }
  }
}
</style>
